package createModel.BuilderModel.clientBuildPlayer;

/**
 * 2024/01/11
 * <p>
 * ZhangYi
 * Description 抽象建造者: 指定属性, 指定要创建的属性
 */
public abstract class ABuild {
    // 要建造的对象
    protected Product product = new Product();
    abstract ABuild buildPartA(String msg);

    abstract ABuild buildPartB(String msg);
    abstract ABuild buildPartC(String msg);
    abstract ABuild buildPartD(String msg);

    /**
     * 功能描述: 建造什么,返回什么
     *
     * @return {@link Product }
     */
    public Product getProduct(){
        return product;
    };
}
